<?php /* @var $this Controller */ ?>
<?php $this->beginContent('//layouts/main'); ?>

<?php if(Yii::app()->language == 'en') {?>
<div class="span-19">
	<div id="content">
		<?php echo $content; ?>
	</div><!-- content -->
</div>
<?php }?>
<div class="span-5 last">
	<div id="sidebar">
	<?php
/* 		$this->beginWidget('zii.widgets.CPortlet', array(
			'title'=>'',
		)); */
		$this->widget('bootstrap.widgets.TbNav', array(
		'type' => TbHtml::NAV_TYPE_LIST,
			'items'=>$this->menu,
// 			'htmlOptions'=>array('class'=>'operations'),
		));
		/* $this->endWidget(); */
	?>
	</div><!-- sidebar -->
</div>

<?php if(Yii::app()->language == 'ar') { ?>

<div class="span-19">
	<div id="content">
		<?php echo $content; ?>
	</div><!-- content -->
</div>

<?php }?>
<?php $this->endContent(); ?>